package hcn.protocol.ods.inpatient;

import lombok.ToString;
import javax.xml.bind.annotation.*;
import java.util.List;

@ToString
@XmlRootElement(name = "Data")
public class BedInfoHisResp {
    private List<BedInfo> BedInfo;
    @XmlElementWrapper(name = "BedInfos")
    @XmlElement(name = "BedInfo")
    public List<BedInfo> getBedInfo() {
        return BedInfo;
    }

    public void setBedInfo(List<BedInfo> bedInfo) {
        BedInfo = bedInfo;
    }

    @ToString
    public static class BedInfo {
        private String VisitOrganization; //医院ID，医院系统身份标识
        private String VisitOrganizationName;//医院名称
        private String DeptId;//病区代码
        private String DeptName;//病区名称
        private String BedNum;//总床数
        private String EmptyBedNum;//空床床数
        private String SourcePatientId;//患者在医院的唯一识别号
        @XmlElement(name = "VisitOrganization")
        public String getVisitOrganization() {
            return VisitOrganization;
        }

        public void setVisitOrganization(String visitOrganization) {
            VisitOrganization = visitOrganization;
        }
        @XmlElement(name = "VisitOrganizationName")
        public String getVisitOrganizationName() {
            return VisitOrganizationName;
        }

        public void setVisitOrganizationName(String visitOrganizationName) {
            VisitOrganizationName = visitOrganizationName;
        }

        @XmlElement(name = "DeptId")
        public String getDeptId() {
            return DeptId;
        }

        public void setDeptId(String deptId) {
            DeptId = deptId;
        }

        @XmlElement(name = "DeptName")
        public String getDeptName() {
            return DeptName;
        }

        public void setDeptName(String deptName) {
            DeptName = deptName;
        }

        @XmlElement(name = "BedNum")
        public String getBedNum() {
            return BedNum;
        }

        public void setBedNum(String bedNum) {
            BedNum = bedNum;
        }

        @XmlElement(name = "EmptyBedNum")
        public String getEmptyBedNum() {
            return EmptyBedNum;
        }

        public void setEmptyBedNum(String emptyBedNum) {
            EmptyBedNum = emptyBedNum;
        }

        @XmlElement(name = "SourcePatientId")
        public String getSourcePatientId() {
            return SourcePatientId;
        }

        public void setSourcePatientId(String sourcePatientId) {
            SourcePatientId = sourcePatientId;
        }
    }

}
